Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check the service is available before record success #92

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lukaskupr
Copy link

Solve the situation when a request that was sent before the trip may immediately overwrite the success value

@ackintosh
Copy link
Owner

Thank you for your pull request.

I'm not sure this change makes sense because:

  1. As shown at the Usage, users call isAvailable prior to calling success/failure.

  2. It seems impossible to completely avoid the overwrite you mentioned, because the most key-value store does not support ACID transaction. 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants